/**
 * 
 */
package org.huanglei.account.view;

import org.huanglei.account.MyApplication;
import org.huanglei.account.R;
import org.huanglei.account.view.base.TitleBarActivity;

/**
 * 财务分析
 * @author huanglei
 * @data Jul 17, 2012
 */
public class AccountAnalyzeActivity extends TitleBarActivity {

	/*
	 * (non-Javadoc)
	 * 
	 * @see org.huanglei.account.view.base.TitleBarActivity#getContentView()
	 */
	@Override
	protected int getContentView() {
		return R.layout.account_analyze;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see org.huanglei.account.view.base.TitleBarActivity#init()
	 */
	@Override
	protected void init() {
		
		MyApplication.getInstance().addActivity(this);
		
		initTitleBar();
	}

	/**
	 * 初始化标题
	 */
	private void initTitleBar() {
		setBarTitle(getResources().getString(R.string.account_analyze));
		showBarView(TitleBarView.TBV_BACK, CL_BACK);
		showBarView(TitleBarView.TBV_HOME,
				CL_HOME.setObject(DashboardActivity.class));
	}

}
